using System;
using System.Web.UI;
using Portal.Core;
using Portal.Data;

public partial class Admin_Default : Page
{
    protected override void OnInit(EventArgs e)
    {
        if (PortalContext.CurrentUser != null)
        {
            Response.Redirect(CoreContext.basepath + "admin_home.aspx");
        }
        else
            Response.Redirect(CoreContext.basepath + "admin_login.aspx");
        //base.OnInit(e);
    }
}